{include file="public/header" /}
<div class="layui-body">
    <!--tab标签-->
    <div class="layui-tab layui-tab-brief">
        <ul class="layui-tab-title">
            <li class=""><a href="{:url('admin/Order/index')}">返回</a></li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                    <form class="layui-form form-container" action="{:url('admin/Order/addm')}" method="post">




                        <div class="layui-form-item">
                            <label class="layui-form-label">订单状态</label>
                            <div class="layui-input-block">
                                <select name="status_name" style="display: block;width: 300px;height: 30px">

                                    <option value="1">待付款<option>
                                    <option value="2">待评价<option>
                                    <option value="3">退款<option>

                                </select>
                            </div>
                        </div>







                        <div class="layui-form-item">
                            <label class="layui-form-label">用户信息ID</label>
                            <div class="layui-input-block">
                                <select name="user_id" style="display: block;width: 300px;height: 30px">
                                    {volist name="list" id="val"}
                                    <option value="{$val.id}">{$val.user_name}</option>
                                    {/volist}
                                </select>
                            </div>
                        </div>





                        <div class="layui-form-item">
                        <label class="layui-form-label">商品信息ID</label>
                        <div class="layui-input-block">
                            <select name="goods_id" style="display: block;width: 300px;height: 30px">
                                {volist name="goods" id="val"}
                                <option value="{$val.id}">{$val.goods_name}</option>
                                {/volist}
                            </select>
                        </div>
                    </div>


                        <div class="layui-form-item">
                        <label class="layui-form-label">排序</label>
                        <div class="layui-input-block">
                            <input type="text" name="sort" value="1"  class="layui-input">
                        </div>
                    </div>
                        <br/>








                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <input type="submit" class="layui-btn" value="保存数据">
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

{include file="public/footer" /}